<div class="modal-header">
    <h4 class="modal-title">设置用户角色</h4>
</div>
<div class="modal-body">
    <form  class="form-horizontal form-content" name="edit_Form">
        <ul class="role-ul">
            <li data-ng-repeat="role in u_roles">
                 <div class="checkbox checkbox-success">
                     <input type="checkbox" id="{{role.role_id}}" name="{{role.role_name}}" ng-checked="isSelected(role.role_id)" ng-click="updateSelection($event,role.role_id)">
                     <label for="{{role.role_id}}">
                         {{ role.role_name }} - {{convertType(role.role_type)}}
                     </label>
                 </div>
             </li>
        </ul>
    </form>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button"
            ng-disabled=""
            ng-click="ok()">确认</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">关闭</button>
</div>